|
|||||||||||||||||||
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover | |||||||||||||||||||
Source file | Conditionals | Statements | Methods | TOTAL | |||||||||||||||
BpelCaseImpl.java | - | 66.7% | 66.7% | 66.7% |
|
1 |
/*
|
|
2 |
* $Id: BpelCaseImpl.java,v 1.1 2004/12/15 14:18:12 patforna Exp $
|
|
3 |
*
|
|
4 |
* Copyright (c) 2004 Patric Fornasier, Pawel Kowalski
|
|
5 |
* Berne University of Applied Sciences
|
|
6 |
* School of Engineering and Information Technology
|
|
7 |
* All rights reserved.
|
|
8 |
*/
|
|
9 |
package bexee.model.elements.impl;
|
|
10 |
|
|
11 |
import bexee.model.activity.Activity;
|
|
12 |
import bexee.model.elements.BpelCase;
|
|
13 |
import bexee.model.expression.BooleanExpression;
|
|
14 |
|
|
15 |
/**
|
|
16 |
* Default implementation of the <code>BpelCase</code> BPEL element.
|
|
17 |
*
|
|
18 |
* @author Patric Fornasier
|
|
19 |
* @author Pawel Kowalski
|
|
20 |
* @version $Revision: 1.1 $, $Date: 2004/12/15 14:18:12 $
|
|
21 |
*/
|
|
22 |
public class BpelCaseImpl implements BpelCase { |
|
23 |
private BooleanExpression booleanExpression;
|
|
24 |
|
|
25 |
private Activity activity;
|
|
26 |
|
|
27 | 4 |
public BpelCaseImpl() {
|
28 | 4 |
super();
|
29 |
} |
|
30 |
|
|
31 | 4 |
public void setBooleanExpression(BooleanExpression booleanExpression) { |
32 | 4 |
this.booleanExpression = booleanExpression;
|
33 |
} |
|
34 |
|
|
35 | 0 |
public BooleanExpression getBooleanExpression() {
|
36 | 0 |
return booleanExpression;
|
37 |
} |
|
38 |
|
|
39 | 4 |
public void activity(Activity activity) { |
40 | 4 |
setCaseActivity(activity); |
41 |
} |
|
42 |
|
|
43 | 4 |
public void setCaseActivity(Activity activity) { |
44 | 4 |
this.activity = activity;
|
45 |
} |
|
46 |
|
|
47 | 0 |
public Activity getCaseActivity() {
|
48 | 0 |
return activity;
|
49 |
} |
|
50 |
} |
|